﻿Imports BusinessRule.DTO

Public Interface uMESLoginIBusiness
    Function GetEmployeeByName(ByVal EmployeeName As String) As uMES_AjaxEmployeeDto

    Function GetEmployeeByCardNum(ByVal CardNum As String) As uMES_AjaxEmployeeDto
    Function GetEmployeeByEmployeename(ByVal employeename As String) As uMES_AjaxEmployeeDto 'add tianFW 2017-09-19
    Function UpdateUserPassword(ByVal Uid As String, ByVal Pwd As String, ByVal expireDate As String) As Integer
    Function UpdateUserPassword(ByVal Uid As String, ByVal Pwd As String) As Integer
    Function InsertUserLoginRecord(ByVal dic As Dictionary(Of String, String)) As Integer

    Function GetDomainUser(ByVal MenuName As String, ByVal Usercount As Dictionary(Of String, Integer), ByRef UserName As String, ByRef Password As String) As Boolean
End Interface
